<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<script type="text/javascript">
		document.title = "My First JavaScript";
	</script>
	<title>My title</title>
</head>
<body>
	<p>First Paragraph</p>
	<script type="text/javascript">
		document.title = window.location.protocol;
		document.write('<p>My text</p>');
		
	</script>
	<p>Last Paragraph</p>
</body>
</html>